local extension = Package:new("moepack_cardex", Package.CardPack)
extension.extensionName = "moepack"

Fk:loadTranslationTable{
  ["moepack_cardex"] = "萌包卡牌EX",
}

local eagle = fk.CreateCard{
  name = "eagle",
  type = Card.TypeBasic,
  skill = "eagle_skill",
  special_skills = {"castsword&"},
}
-- 将牌的牌面信息加入卡包
extension:addCardSpec("eagle", Card.Diamond, 4)
Fk:loadTranslationTable{
  ["eagle"] = "鹰",
	[":eagle"] = "基本牌<br /><b>时机</b>：出牌阶段<br /><b>目标：</b>一名其他角色<br /><b>效果：</b>观看目标角色手牌，本回合对其使用牌没有距离限制。",
}



local hunting = fk.CreateCard{
  name = "hunting",
  type = Card.TypeTrick,
  skill = "hunting_skill",
}
extension:addCardSpec("hunting", Card.Club, 3)
Fk:loadTranslationTable{
  ["hunting"] = "狩猎",
  [":hunting"] = "锦囊牌<br /><b>时机</b>：出牌阶段<br /><b>目标</b>：一名角色<br /><b>效果</b>：目标角色受到1点伤害时，伤害来源摸一张牌（限三张）。",
}

local lucky_coin = fk.CreateCard{
  name = "lucky_coin",
  type = Card.TypeTrick,
  sub_type = Card.SubtypeDelayedTrick,
  skill = "lucky_coin_skill",
}
-- 将牌的牌面信息加入卡包
extension:addCardSpec("lucky_coin", Card.Diamond, 8)
Fk:loadTranslationTable{
  ["lucky_coin"] = "幸运硬币",
  [":lucky_coin"] = "延时锦囊牌<br /><b>时机</b>：出牌阶段<br /><b>目标：</b>你<br /><b>效果</b>：将此牌置于目标角色判定区内。其判定阶段进行判定，若结果为：<font color='red'>♥</font>，其回复2点体力，<font color='red'>♦</font>，其摸三张牌，♣，其可令一名其他角色弃置三张牌；♠，其受到3点雷电伤害。然后将【幸运硬币】置入弃牌堆。",
}



-- 将牌的特征信息加入本体
extension:loadCardSkels {
  eagle,
  hunting,
  lucky_coin,
}

return extension
